package com.kunbo.cn.service.core.purchase;

import java.util.List;
import java.util.Map;

import com.kunbo.cn.entity.core.purchase.Waybill;

public interface WaybillService {
	void save(Waybill waybill);
	void update(Waybill waybill);
	void delete(String id);
	Waybill findById(String id);
	List<Map<String,Object>>  getAllOrder();
	String getMaterielName(String order_code);
	String computationAllowance(String orderCode, float freightVolume,String judge);
	String getOrderIdGetMaterial(Integer id);
	Boolean orderTransfer(String orderId, String orderIds, Float number);
	List<Map<String,Object>> getWayBillOrder(String wayBillCode, Integer wayBillState,Integer page, Integer pageSize,Integer wayBillType,Integer wayBillUnit);
	List<Map<String, Object>> indexData(String waybillEntrustedunit);
	String getOrderCode(Integer waybillId);
	String getMaterielNames(String getMaterielName);
	float getallowance(Integer id);
	boolean waybillOrderCount(String id, float count,String state);
	Boolean updateWayBillStatus(String tableName, Integer id, String stateCode);

}
